package com.teemor.blog.service;

import com.teemor.blog.bean.condition.TbIprecordCondition;
import com.teemor.blog.bean.dto.output.BaseInfo;
import com.teemor.blog.bean.entity.TbIprecord;
import java.util.List;

/**
 * @author: zhoulk
 * @Description: 原子服务
 * @date: 2020/03/19 20:59:38
 */
public interface IIprecordService {
     /** 
   * @Function: com.teemor.blog.service.IIprecordService.countIprecord
   * @Description: 数量查询接口
   * @param: condition
   * @return: int
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/19 20:59:38
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/19 20:59:38     zhoulk           v1.0.0             修改原因
   *
   */
    int countIprecord(TbIprecordCondition condition);

     /** 
   * @Function: com.teemor.blog.service.IIprecordService.qryIprecords
   * @Description: 列表查询接口
   * @param: condition
   * @return: List<TbIprecord>
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/19 20:59:38
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/19 20:59:38     zhoulk           v1.0.0             修改原因
   *
   */
    List<TbIprecord> qryIprecords(TbIprecordCondition condition);

     /** 
   * @Function: com.teemor.blog.service.IIprecordService.qryIprecordById
   * @Description: 根据主键查询
   * @param: id
   * @return: TbIprecord
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/19 20:59:38
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/19 20:59:38     zhoulk           v1.0.0             修改原因
   *
   */
    TbIprecord qryIprecordById(Integer id);

     /** 
   * @Function: com.teemor.blog.service.IIprecordService.addIprecord
   * @Description: 新增接口
   * @param: inParam
   * @return: int
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/19 20:59:38
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/19 20:59:38     zhoulk           v1.0.0             修改原因
   *
   */
    int addIprecord(TbIprecord inParam);

     /** 
   * @Function: com.teemor.blog.service.IIprecordService.updIprecordById
   * @Description: 根据Id更新接口
   * @param: inParam
   * @return: int
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/19 20:59:38
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/19 20:59:38     zhoulk           v1.0.0             修改原因
   *
   */
    int updIprecordById(TbIprecord inParam);

    BaseInfo qryBaseInfo();
}